
import request from '@/utils/request'

export function listData(query) {
  return request({
    url: `/reward/detail/type/list${query}`,
    method: 'get',
  })
}

export function putData(form) {
  return request({
    url: `/reward/detail/type/update`,
    method: 'put',
    data:form
  })
}

export function deleteData(form) {
    return request({
      url: `/reward/detail/type/del`,
      method: 'put',
      data:form
    })
  }